package com.lin.cloud.disk.manage;

import com.lin.cloud.disk.entity.dto.DepartmentDTO;
import com.lin.cloud.disk.entity.request.company.AddCompanyInfoRequest;
import com.lin.cloud.disk.entity.request.company.GetCompanyDepartmentTreeRequest;

import java.util.List;

/**
 * 公司聚合服务接口类
 * @author ljc
 * @date 2021/1/12 18:34
 */
public interface ICompanyManageService {

    /**
     * 获取公司所有的部门
     * @param request
     * @return
     */
    List<DepartmentDTO> getCompanyDepartmentList(GetCompanyDepartmentTreeRequest request);

    /**
     * 添加公司主体信息
     * @param request
     */
    void addCompanyInfo(AddCompanyInfoRequest request);
}
